package QL;

import java.util.List;
import java.util.ArrayList;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

public class ButlerAccountPhoneBatchGenerateResponse extends BaseQLResponse
{
    /// <summary>
    /// 批量生成的手机号码，用逗号分隔
    /// </summary>
    public String PhoneList;

    @Override
    public void DeserializeFromJson(JSONObject jsonObj)
    {
        JSONObject t = jsonObj.getJSONObject("error_response");
        if (t != null && !t.isNullObject())
        {
            ErrCode = t.getString("code");
            ErrMsg = t.getString("msg");
        }
        else
        {
            t = jsonObj.getJSONObject("butler_account_phone_batch_generate_response");
            if (t.has("phone_list"))
                PhoneList = t.getString("phone_list");
        }
    }
}
